package com.zy.entity;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author LittleDesire
 * @description
 * @date 2022-03-31 周四 10:21
 * @since 17
 */
@Data
public class User {
    @NotNull(message = "编号不能为空")
    private int id;
    @NotNull(message = "姓名不能为空")
    private String name;
}
